import { httpPost } from '@/utils/request'
import { type orderInter } from '@/types/order'
// 提交订单
export function sub_order(data: orderInter) {
  return httpPost('/home/order/add_order', data)
}

// 订单列表
export function order_list(data = {}) {
  return httpPost('/home/order/order_list', data)
}
